package cn.ac.jaas.isc.vegetable.common.feign.annotation;

import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.VegetableFeignClientsRegistrar;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @author 张高昌
 * @date 2022/4/13 18:08
 * @description: 功能描述
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@EnableFeignClients
@Import(VegetableFeignClientsRegistrar.class)
public @interface EnableVegetableFeignClients {

    String[] value() default {};

    String[] basePackages() default {"cn.ac.jaas.isc.vegetable"};

    Class<?>[] basePackageClasses() default {};

    Class<?>[] defaultConfiguration() default {};

    Class<?>[] clients() default {};
}
